package com.itheima.mapper;

import com.itheima.pojo.Order;
import com.itheima.pojo.OrderItems;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface OrdersMapper {
    void add(Order order);

    void addEI(Integer id, List<OrderItems> items);

    void delete(Integer id);

    List<Order> listClient(Integer gid);

    List<Order> selectSOrder(Integer sId);
}
